export default {
  // ========== Common ==========
  common: {
    confirm: 'Confirm',
    cancel: 'Cancel',
    save: 'Save',
    reset: 'Reset',
    delete: 'Delete',
    edit: 'Edit',
    view: 'View',
    search: 'Search',
    loading: 'Loading...',
    noData: 'No Data',
    success: 'Success',
    failed: 'Failed',
    welcome: 'Welcome',
    logout: 'Logout',
    loggingOut: 'Logging out...',
    yes: 'Yes',
    no: 'No',
    settings: 'Settings'
  },

  // ========== Menu ==========
  menu: {
    home: 'Home',
    profile: 'Profile',
    settings: 'Settings',
    aiChat: 'AI Chat',
    orderManagement: 'Orders',
    cart: 'Shopping Cart',
    chess: 'Chinese Chess',
    sensitiveWord: 'Sensitive Words'
  },

  // ========== Home ==========
  home: {
    title: 'Welcome to Electron-Egg',
    description: 'A desktop application based on Electron + Vue 3',
    quickActions: 'Quick Actions'
  },

  // ========== Profile ==========
  profile: {
    title: 'Profile',
    viewMode: 'View Mode',
    editMode: 'Edit Mode',
    basicInfo: 'Basic Information',
    username: 'Username',
    realName: 'Real Name',
    email: 'Email',
    phone: 'Phone',
    gender: 'Gender',
    department: 'Department',
    birthday: 'Birthday',
    address: 'Address',
    bio: 'Bio',
    avatar: 'Avatar',
    male: 'Male',
    female: 'Female',
    createTime: 'Created At',
    lastLoginTime: 'Last Login',
    
    // Action tips
    clickToUpload: 'Click to upload',
    uploadTip: 'Only jpg/png files, max 2MB',
    uploading: 'Uploading...',
    uploadSuccess: 'Avatar uploaded successfully',
    uploadFailed: 'Upload failed',
    avatarRemoved: 'Avatar removed',
    
    // Form placeholders
    usernameNotEditable: 'Username cannot be modified',
    enterRealName: 'Enter real name',
    enterEmail: 'Enter email',
    enterPhone: 'Enter phone',
    enterDepartment: 'Enter department',
    
    // Error messages
    loadFailed: 'Failed to load user info, please refresh',
    uploadImageOnly: 'Please upload an image file!',
    uploadSizeLimit: 'Image size cannot exceed 2MB!',
    
    // Mode switching
    enteredEditMode: 'Entered edit mode, you can modify your information',
    switchedToViewMode: 'Switched to view mode',
    
    // Save and cancel
    saving: 'Saving...',
    saveSuccess: 'Profile saved successfully',
    saveFailed: 'Save failed, please try again',
    cancelEdit: 'Edit cancelled',
    enterEditMode: 'Enter Edit Mode'
  },

  // ========== Settings ==========
  settings: {
    title: 'System Settings',
    basicSettings: 'Basic Settings',
    securitySettings: 'Security Settings',
    
    // Basic Settings
    displayMode: 'Display Mode',
    displayModeDesc: 'Choose system display mode',
    lightMode: 'Light Mode',
    darkMode: 'Dark Mode',
    
    notifications: 'Notifications',
    notificationsDesc: 'Receive system notifications',
    enabled: 'Enabled',
    disabled: 'Disabled',
    
    language: 'Language',
    languageDesc: 'Set system display language',
    selectLanguage: 'Select language',
    
    fontSize: 'Font Size',
    fontSizeDesc: 'Adjust global font size',
    
    // Security Settings
    loginVerification: 'Login Verification',
    loginVerificationDesc: 'Enable two-factor authentication',
    
    changePassword: 'Change Password',
    changePasswordDesc: 'Click to change account password',
    
    // Action Buttons
    saveSettings: 'Save Settings',
    resetSettings: 'Reset',
    savingSettings: 'Saving...',
    resettingSettings: 'Resetting...',
    
    // Messages
    saveSuccess: 'Settings saved successfully',
    saveFailed: 'Failed to save settings',
    resetSuccess: 'Settings reset successfully',
    resetFailed: 'Failed to reset settings',
    themeSwitchedToDark: 'Switched to dark mode',
    themeSwitchedToLight: 'Switched to light mode',
    notificationsEnabled: 'Notifications enabled',
    notificationsDisabled: 'Notifications disabled',
    languageChanged: 'Language changed'
  },

  // ========== Notifications ==========
  notification: {
    title: 'Notification Center',
    empty: 'No notifications',
    markAllRead: 'Mark all as read',
    clear: 'Clear',
    markAllReadSuccess: 'All marked as read',
    deleteSuccess: 'Notification deleted',
    clearConfirm: 'Clear all notifications?',
    clearTitle: 'Clear Notifications',
    clearSuccess: 'All notifications cleared',
    disabled: 'Notifications are disabled. Enable in Settings.',
    
    // Time Groups
    today: 'Today',
    yesterday: 'Yesterday',
    earlier: 'Earlier',
    
    // Time Format
    justNow: 'Just now',
    minutesAgo: '{n} minutes ago',
    hoursAgo: '{n} hours ago',
    
    // Notification Types
    system: 'System',
    message: 'Message',
    alert: 'Alert'
  },

  // ========== Logout ==========
  logout: {
    title: 'Confirm logout?',
    description: 'You will need to log in again to continue.',
    confirm: 'Confirm',
    cancel: 'Cancel',
    loggingOut: 'Logging out...',
    inProgress: 'Logging out...',
    success: 'Logged out successfully',
    failed: 'Logout failed, please try again'
  },

  // ========== Theme ==========
  theme: {
    darkModeEnabled: 'Dark mode enabled',
    switchToDark: 'Switch to dark',
    switchToLight: 'Switch to light'
  },

  // ========== Help ==========
  help: {
    documentation: 'Documentation'
  },

  // ========== AI Chat ==========
  aiChat: {
    title: 'AI Chat',
    assistant: 'AI Assistant',
    clearChat: 'Clear Chat',
    send: 'Send',
    thinking: 'Thinking...',
    you: 'You',
    ai: 'AI',
    
    // Input
    placeholder: 'Enter your question... (Enter to send, Shift+Enter for new line)',
    
    // Settings
    saveHistory: 'Save History',
    
    // Messages
    welcomeMessage: 'Hello! I am your AI assistant. How can I help you?',
    chatCleared: 'Chat cleared',
    emptyInput: 'Please enter valid content before sending',
    requestFailed: 'Sorry, the request failed. Please try again later'
  },

  // ========== Order Management ==========
  order: {
    title: 'Order Management',
    orderNo: 'Order No.',
    productName: 'Product Name',
    totalAmount: 'Total Amount',
    status: 'Status',
    createTime: 'Create Time',
    action: 'Action',
    
    // Order status
    statusPending: 'Pending Payment',
    statusPaid: 'Paid',
    statusCancelled: 'Cancelled',
    statusRefunded: 'Refunded',
    statusTimeout: 'Timeout',
    statusUnknown: 'Unknown',
    
    // Action buttons
    pay: 'Pay',
    refund: 'Refund',
    
    // Messages
    loadFailed: 'Failed to load order data, please try again later',
    paySuccess: 'Payment successful',
    payFailed: 'Payment failed',
    payFailedRetry: 'Payment failed, please try again later',
    refundSuccess: 'Refund successful',
    refundFailed: 'Refund failed',
    refundFailedRetry: 'Refund failed, please try again later'
  },

  // ========== Shopping Cart ==========
  cart: {
    title: 'Shopping Cart',
    cartList: 'Cart Items',
    product: 'Product',
    unitPrice: 'Unit Price',
    quantity: 'Quantity',
    subtotal: 'Subtotal',
    action: 'Action',
    defaultSku: 'Default',
    
    // Action buttons
    batchDelete: 'Batch Delete',
    moveToFavorite: 'Move to Favorites',
    clearSelected: 'Clear Selected',
    delete: 'Delete',
    favorite: 'Favorite',
    checkout: 'Checkout',
    selectAll: 'Select All',
    
    // Statistics
    selected: 'Selected',
    items: 'items',
    total: 'Total',
    discounted: 'Saved',
    
    // Confirmation dialogs
    confirmDelete: 'Are you sure to delete this item?',
    confirmBatchDelete: 'Are you sure to delete {count} selected items?',
    confirmMoveToFavorite: 'Move {count} selected items to favorites?',
    confirmClearSelection: 'Clear {count} selected items?\n(Only uncheck, will not delete items)',
    hint: 'Hint',
    
    // Messages
    loadFailed: 'Failed to load cart data, please try again later',
    updateQuantityFailed: 'Failed to update quantity',
    updateFailed: 'Update failed, please try again later',
    deleted: 'Deleted',
    deleteFailed: 'Delete failed',
    deleteFailedRetry: 'Delete failed, please try again later',
    batchDeleteSuccess: 'Batch delete successful',
    batchDeleteFailed: 'Batch delete failed',
    batchDeleteFailedRetry: 'Batch delete failed, please try again later',
    movedToFavorite: 'Moved to favorites (demo)',
    batchMovedToFavorite: 'Batch moved to favorites (demo)',
    checkoutSuccess: 'Checkout successful! Order No: {orderNo}',
    checkoutFailed: 'Checkout failed',
    checkoutFailedRetry: 'Checkout failed, please try again later',
    selectionCleared: 'All selections cleared'
  },

  // ========== Chinese Chess ==========
  chess: {
    title: 'Chess Game',
    gameControl: 'Game Control',
    gameStatus: 'Game Status',
    moveHistory: 'Move History',
    capturedPieces: 'Captured Pieces',
    
    // Game status
    currentPlayer: 'Current Turn',
    roundCount: 'Rounds',
    gameMode: 'Game Mode',
    redPlayer: 'Red',
    blackPlayer: 'Black',
    
    // Game modes
    modeHumanVsHuman: 'Player vs Player',
    modeHumanVsAI: 'Player vs AI',
    
    // Game status values
    statusPlaying: 'Playing',
    statusCheckmate: 'Checkmate',
    statusStalemate: 'Stalemate',
    statusDraw: 'Draw',
    statusResign: 'Resign',
    statusUnknown: 'Unknown',
    
    // Timer
    redTime: 'Red Time',
    blackTime: 'Black Time',
    
    // Control buttons
    newGame: 'New Game',
    restart: 'Restart',
    undo: 'Undo',
    resign: 'Resign',
    enableAI: 'Enable AI',
    disableAI: 'Disable AI',
    startTimer: 'Start Timer',
    pauseTimer: 'Pause Timer',
    
    // AI settings
    aiSettings: 'AI Settings',
    aiDifficulty: 'AI Level',
    aiSide: 'AI Side',
    aiThinking: 'AI Thinking...',
    aiReady: 'AI Ready',
    
    // AI difficulty levels
    difficultyBeginner: 'Beginner',
    difficultyEasy: 'Easy',
    difficultyMedium: 'Medium',
    difficultyHard: 'Hard',
    difficultyExpert: 'Expert',
    difficultyMaster: 'Master',
    difficultyGrandmaster: 'Grandmaster',
    
    // Captured pieces
    redCaptured: 'Red Captured',
    blackCaptured: 'Black Captured',
    none: 'None',
    
    // Move history
    noMoves: 'No moves recorded',
    
    // River boundary
    chuRiver: 'Chu',
    hanBoundary: 'Han',
    
    // Confirmation dialogs
    confirmRestart: 'Restart the game?',
    confirmTitle: 'Confirm',
    
    // Messages
    gameReset: 'Game reset',
    undoSuccess: 'Undo successful',
    undoFailed: 'Undo failed',
    aiEnabled: 'AI enabled',
    aiDisabled: 'AI disabled',
    timerStarted: 'Timer started',
    timerPaused: 'Timer paused',
    redTimeout: 'Red timeout! Black wins!',
    blackTimeout: 'Black timeout! Red wins!',
    aiMove: 'AI move',
    aiMoveFailed: 'AI move error',
    aiNoValidMove: 'AI cannot move',
    invalidMove: 'Invalid move',
    aiDifficultyChanged: 'AI level set to: {name} ({description})'
  },

  // ========== Sensitive Word Management ==========
  sensitive: {
    title: 'Sensitive Word Management',
    
    // Buttons and Actions
    addKeyword: 'Add Keyword',
    startCheck: 'Start Check',
    checking: 'Checking...',
    clearResults: 'Clear Results',
    batchImport: 'Batch Import',
    export: 'Export',
    exportResults: 'Export Results',
    viewStatistics: 'View Statistics',
    refresh: 'Refresh',
    
    // Card Titles
    keywordManagement: 'Keyword Library',
    systemStatus: 'System Status',
    quickActions: 'Quick Actions',
    historyTasks: 'History Tasks',
    checkConfig: 'Database Check Config',
    checkResults: 'Check Results',
    
    // Statistics
    total: 'Total',
    count: '',
    selected: 'Selected',
    tables: 'tables',
    issues: 'issues',
    elapsedTime: 'Time',
    
    // Category and Filter
    selectCategory: 'Select Category',
    selectDatabase: 'Select Database',
    searchTable: 'Search Table',
    
    // System Status
    databaseConnection: 'Database',
    connected: 'Connected',
    notSelected: 'Not Selected',
    keywordLibrary: 'Keywords',
    checkMode: 'Check Mode',
    fullCheck: 'Full Check',
    selectiveCheck: 'Selective',
    foundIssues: 'Issues Found',
    
    // Check Config
    database: 'Database',
    mode: 'Mode',
    fullMode: 'Full Check',
    selectiveMode: 'Selective Check',
    targetTables: 'Target Tables',
    advancedConfig: 'Advanced Config',
    batchSize: 'Batch Size',
    concurrency: 'Concurrency',
    timeout: 'Timeout (min)',
    caseSensitive: 'Case Sensitive',
    useReadReplica: 'Use Read Replica',
    
    // Table Selection
    availableTables: 'Available',
    selectedTables: 'Selected',
    addTable: 'Add',
    removeTable: 'Remove',
    filteredSystemTables: 'System tables filtered',
    noTables: 'No tables, please refresh',
    
    // Progress Info
    preparing: 'Preparing...',
    checkedTables: 'Checked',
    foundProblems: 'Issues',
    
    // Keyword List
    noKeywords: 'No keywords',
    edit: 'Edit',
    delete: 'Delete',
    
    // Dialogs
    addKeywordTitle: 'Add Keyword',
    editKeywordTitle: 'Edit Keyword',
    keyword: 'Keyword',
    category: 'Category',
    description: 'Description',
    enterKeyword: 'Enter keyword',
    selectCategoryPlaceholder: 'Select category',
    descriptionPlaceholder: 'Optional description',
    
    // Record Detail
    recordDetail: 'Record Detail',
    tableName: 'Table',
    columnName: 'Column',
    recordId: 'Record ID',
    sensitiveWord: 'Keyword',
    foundTime: 'Found Time',
    fullContent: 'Full Content',
    querySQL: 'Query SQL',
    copySQL: 'Copy SQL',
    
    // Generate SQL
    generateCleanSQL: 'Generate Clean SQL',
    replaceWith: 'Replace with ***',
    deleteRecord: 'Delete Record',
    clearField: 'Clear Field',
    generatedSQL: 'Generated SQL',
    warningBackup: 'Warning: Backup data before execution!',
    
    // Table Headers
    table: 'Table',
    column: 'Column',
    id: 'ID',
    context: 'Context',
    action: 'Action',
    view: 'View',
    generateSQL: 'Gen SQL',
    ignore: 'Ignore',
    
    // Batch Operations
    batchIgnoreSelected: 'Batch Ignore',
    batchGenerateSQL: 'Batch Gen SQL',
    
    // Statistics
    byCategory: 'By Category',
    byTable: 'By Table',
    totalIssues: 'Total Issues',
    
    // History Tasks
    taskName: 'Task Name',
    taskStatus: 'Status',
    createTime: 'Created',
    noTasks: 'No tasks',
    loading: 'Loading...',
    justNow: 'Just now',
    minutesAgo: '{n} min ago',
    hoursAgo: '{n} hrs ago',
    
    // Task Status
    statusPending: 'Pending',
    statusRunning: 'Running',
    statusCompleted: 'Completed',
    statusFailed: 'Failed',
    statusCancelled: 'Cancelled',
    
    // Messages
    addSuccess: 'Added successfully',
    updateSuccess: 'Updated successfully',
    deleteSuccess: 'Deleted successfully',
    saveFailed: 'Save failed',
    deleteFailed: 'Delete failed',
    confirmDelete: 'Delete this keyword?',
    confirmDeleteTitle: 'Confirm Delete',
    pleaseAddKeywords: 'Please add keywords first',
    pleaseSelectDatabase: 'Please select database',
    pleaseSelectTables: 'Please select at least one table',
    noKeywordsAvailable: 'No keywords available',
    invalidDatabaseId: 'Invalid database ID',
    pleaseSelectValidDatabase: 'Please select valid database',
    taskCreatedSuccess: 'Task created, ID',
    taskCreationFailed: 'Task creation failed: Invalid task ID',
    checkCompleted: 'Check completed! Found {count} issues',
    checkFailed: 'Check failed',
    checkTimeout: 'Check timeout',
    startCheckFailed: 'Failed to start check',
    confirmIgnore: 'Ignore this result?',
    confirmIgnoreTitle: 'Confirm Ignore',
    ignoreSuccess: 'Ignored',
    ignoreFailed: 'Ignore failed',
    confirmBatchIgnore: 'Ignore {count} selected results?',
    batchIgnoreTitle: 'Batch Ignore',
    batchIgnoreSuccess: 'Ignored {count} results',
    batchIgnoreFailed: 'Batch ignore failed',
    pleaseSelectResults: 'Please select results first',
    pleaseSelectResultsForSQL: 'Please select results for SQL',
    batchGenerateSQLFailed: 'Batch SQL generation failed',
    pleaseSelectTask: 'Please select a task',
    exportSuccess: 'Export successful',
    exportFailed: 'Export failed',
    getStatisticsFailed: 'Failed to get statistics',
    copiedToClipboard: 'Copied to clipboard',
    importSuccess: 'Import successful: {count} keywords',
    importFailed: 'Import failed',
    resultsCleared: 'Results cleared',
    loadTablesSuccess: 'Loaded {count} tables (system tables filtered)',
    loadTablesFailed: 'Failed to load tables',
    taskLoadSuccess: 'Loaded {count} results for task "{name}"',
    taskCompletedNoIssues: 'Task "{name}" completed, no issues found',
    taskRunning: 'Task "{name}" is running...',
    taskFailed: 'Task "{name}" failed',
    taskNoResults: 'No results for task "{name}"',
    taskLoadFailed: 'Failed to load results for task "{name}"',
    
    // Statistics Dialog
    statisticsTitle: 'Statistics',
    totalResults: 'Total Results',
    highRiskResults: 'High Risk',
    pendingResults: 'Pending',
    processedResults: 'Processed',
    
    // Form Validation
    keywordRequired: 'Please enter keyword',
    categoryRequired: 'Please select category'
  },

  // ========== Others ==========
  clock: {
    currentTime: 'Current Time (Beijing)'
  }
}

